<?php

namespace common\models\cso;

use Yii;

/**
 * This is the model class for table "{{%cso_user_order}}".
 *
 * @property int $id
 * @property int $cso_id
 * @property int $cso_user_id
 * @property int $user_id
 * @property int $order_id
 * @property int $created_at
 * @property int $updated_at
 */
class CsoUserOrder extends \common\db\ActiveRecord {

    /**
     * {@inheritdoc}
     */
    public static function tableName() {
        return '{{%cso_user_order}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules() {
        return [
            [['cso_id', 'cso_user_id', 'user_id', 'order_id', 'created_at', 'updated_at'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels() {
        return [
            'id' => 'ID',
            'cso_id' => 'Cso ID',
            'cso_user_id' => 'Cso User ID',
            'user_id' => 'User ID',
            'order_id' => 'Order ID',
            'created_at' => 'Created At',
            'updated_at' => 'Updated At',
        ];
    }

}
